<div class="main-hook">
    <span @click.stop="emitPage" class="emit-page-hook"></span>
    <span @click.stop="prePage" class="pre-page-hook"></span>
    <span @click.stop="refreshPage" class="refresh-page-hook"></span>
    <div class="box-wrapper box1-hook" v-show="boxs.box1.show">
        <div class="account-wrapper account-hook">
            <div class="title">
                当前位置：Bootstrap&nbsp;->&nbsp;<span class="active">Bootstrap-table</span>
            </div>
            <%if(checkAuthority('account-query')){%>
            <form class="search form-hook">
                <div class="row">
                    <span class="search-label">角色类型</span>
                    <select class="form-control w120 role-type-hook" name="roleName">
                        <option value="">全部</option>
                        <option v-for="(role,index) in roleList" :value="role.roleName" v-text="role.roleName"></option>
                    </select>
                    <span class="interval-lg"></span>
                    <span class="search-label">账户状态</span>
                    <select class="form-control w80 account-status-hook"  name="accountStatus">
                        <option value="">全部</option>
                        <option value="enable">启用</option>
                        <option value="disable">停用</option>
                    </select>
                    <span class="interval-lg"></span>
                    <span class="search-label">关键字</span>
                    <input type="text" class="search-input lg" name="keyword" placeholder="用户姓名、所属单位、手机号码" @keyup.enter="searchKey()">
                    <span class="interval-lg"></span>
                    <button type="submit" class="btn btn-blue search-hook">查询</button>
                    <span class="interval-xs"></span>
                    <button type="reset" class="btn btn-gray resert">清空</button>
                </div>
            </form>
            <%}%>
            <%if(checkAuthority('account-customer-create')){%>
            <div class="order_operation_btn" style="padding: 10px 0 0 25px;height: 56px;">
                <button type="button" class="btn primary_btn" @click.stop="addAccount('<%=user.companyType%>')">新&nbsp;&nbsp;增</button>
            </div>
            <%}%>
            <div class="custom-table-wrapper" style="padding: 0;height: auto;">
                <table class="custom-table account-table-hook"></table>
            </div>
        </div>
    </div>
    <div class="box-wrapper box2-hook" v-show="boxs.box2.show"></div>
    <div class="box-wrapper box3-hook" v-show="boxs.box3.show"></div>
    <div class="box-wrapper box4-hook" v-show="boxs.box4.show"></div>
</div>
<script type="text/javascript" src="js/back/Bootstrap/Bootstrap-table/Bootstrap-table.js" custom></script>